<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" import="java.util.*" errorPage="error.jsp" %>
<%--指令动作 <%@指令名  属性="属性值" %> --%>
<%--  <%@taglib uri="" prefix="" %> --%>
<%--   <%@ include file="header.jsp" %> --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>index</title>
    <script type="text/javascript" src="index.js"></script>
</head>
<body>
<!-- 客户端可见 -->
<%--客户端不可见 --%>
<!-- 网页+java -->
<%--指令动作(page,taglib,include)
             标签动作()
             脚本动作(java代码) --%>

<div>

    <%
        if (session.getAttribute("isLogin") != null && session.getAttribute("isLogin").equals("isLogin")){

            out.print("<h1>请登录</h1>");
        }
    %>
    <form action="get_data.jsp" onsubmit="return verify()">
        <input name="name" id="name" type="text">
        <input type="submit" value="登录通讯录系统">
    </form>
</div>

</body>
</html>